<?php
include($folder.'/layouts/code-behind/backend.php');
function blc_kepek_select_count()
{
	return queryScalar('SELECT COUNT(*) FROM picture', null);
}
function blc_kepek_select($from, $itemsPerPage)
{
	return query(
		'SELECT id,name FROM picture ORDER BY id LIMIT :from,:itemsPerPage',
		array('from'=>$from, 'itemsPerPage'=>$itemsPerPage));
}
$master['action'] = null;
$master['attributes'] = null;
$master['pageTitle'] = 'Képek';
?>